cc_library(
    name = "segment",
    srcs = glob(["*.cpp"]),
    hdrs = glob(["*.h"]),
    visibility = ["//visibility:public"],
    deps = [
        "//index/attribute_index/attribute_filter:attribute_filter",
        "//index/attribute_index/attribute_disk_indexer:attribute_disk_indexer",
        "//index/attribute_index/attribute_mem_indexer:attribute_mem_indexer",
        "//index/inverted_index:inverted_indexer",
        "//index/primary_key_index:primary_key_index",
        "//index/deletion_index:deletion_index",
        "//util/file_wrapper:file_wrapper",
        "@gflags//:gflags",
        "@brpc//:brpc",
        "//util/arena:arena_wrapper",
    ]
)
